
import { defineStore } from "pinia";
const useSpaceStore = defineStore("SpaceStore", {
  state: () => {
    return {
      addDialogShow: false,
      updateDialogShow: false
    
    };
  },
  actions: {
    toggleAddShowState() {
      this.addDialogShow = !this.addDialogShow
    },
    toggleUpdateShowState() {
      this.  updateDialogShow = !this.  updateDialogShow
    }
   },
  // persist: true
});

export default useSpaceStore;